"""
@Author: 霍格沃兹测试开发学社-西西
@Desc: 更多测试开发技术探讨，请访问：https://ceshiren.com/t/topic/15860
"""
# if 判断条件:
# # 执行语句需要注意缩进
#     执行语句
is_Tester = True

# 四个空格 缩进
if is_Tester:
    print("测试工程师")
    print("aaa")

school = "霍格沃兹"
if school == "hogwarts":
    print(school)
else:
    print("测试开发")

if 2>1:
    print("2>1")
else:
    print("出错了")
# if 成立与不成立  两种情况
if 'a' not in 'abc':
    print("OK")
elif 'b' in 'abc':
    print("else")

# score  <60 不及格   85>x>=60 中等生  >=85 优等生

score = 95
if score <60:
    print('不及格')
elif score>=60 and score<85:
    print("中等生")
elif score>= 85 and score<95:
    print("优等生")
else:
    print("特别棒！")

a = 10
b = 11
if a>b:
    h = "变量1"
else:
    h = "变量2"

print(h)
# 三目运算符
h = '变量1' if a>b else '变量2'
print(h)